GrapeCity.Xaml.SpreadSheet.Data
Insert Method (NotifyCollectionBase<T>)


GrapeCity.Xaml.SpreadSheet.Data Namespace > NotifyCollectionBase<T> Class : Insert Method
The zero-based index at which to insert the item.
The new item.
Inserts an item at a specified index.
Syntax
'Declaration
 
Public Overridable Sub Insert( _
   ByVal index As Integer, _
   ByVal item As T _
) 
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
Dim index As Integer
Dim item As T
 
instance.Insert(index, item)
public virtual void Insert( 
   int index,
   T item
)

Parameters

index
The zero-based index at which to insert the item.
item
The new item.
Exceptions
ExceptionDescription
The collection is read-only.
See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members